import App from './App'
import Vue from 'vue'
import store from './store'
import MinCache from'./utils/MinCache.js'
import tip from'./utils/tip.js'

import api from './api'
import whole from './common/js/whole.js'

// 注册缓存器
Vue.use(MinCache,{timeout: 6})
// 注册全局变量与方法
Vue.mixin(whole)

// store
Vue.prototype.$store=store;
// tip
Vue.prototype.$tip=tip;
// request请求
Vue.prototype.$api = api


Vue.config.productionTip = false
App.mpType = 'app'


const app = new Vue({
	store,
		MinCache,
    ...App
})
app.$mount()

